import sys
from PySide6 import QtWidgets, QtCore
from windows.myMainWindow import MyMainWindow

if __name__ == '__main__':
    # create the application and the main window
    app = QtWidgets.QApplication(sys.argv)

    transQT6 = QtCore.QTranslator()
    transQT6.load(r'.\qt_zh_CN.qm')
    app.installTranslator(transQT6)

    mainWindow = MyMainWindow()

    # run
    mainWindow.show()
    sys.exit(app.exec())
